package com.msb.service.impl;

import com.msb.dao.BookHbRepository;
import com.msb.dao.UserDao;
import com.msb.pojo.User;
import com.msb.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;

@Service
public class UserServiceImpl  implements UserService {
    @Resource
    private UserDao userDao;

    @Override
    public List<User> selectAll() {
        return userDao.findAll();
    }
}
